using System;
using System.Collections.Generic;
using System.Text;

using System.Data;
using Husb.Data;
using Husb.Util;
using CentralOffice.Admin.Data;
using CentralOffice.Admin.DataAccess;
using AttendLeaveTable = CentralOffice.Admin.Data.AttendDataSet.Attend_LeaveDataTable;
using AttendLeaveRow = CentralOffice.Admin.Data.AttendDataSet.Attend_LeaveRow;

namespace CentralOffice.Admin.DataAccess
{
    public class AttendLeaveAdapter : DataAccessAdapter<Admin.Data.AttendDataSet, AttendLeaveTable, AttendLeaveRow>
    {
        public AttendLeaveAdapter()
        {
            this.TableName = "Attend_Leave";
            InsertStoredProc = "Admin.AttendLeave_InsertAttendLeave";
            DeleteStoredProc = "Admin.AttendLeave__DeleteAttendLeave";

            GetAllStoredProc = "Admin.AttendLeave_SelectAttendLeaveAll";
            UpdateStoredProc = "Admin.AttendLeave_UpdateAttendLeave";
            FindStoredProc = "Admin.AttendLeave_SelectAttendLeaveDynamic";
            GetByIdStoredProc = "Admin.AttendLeave_SelectAttendLeave";
        }

        protected override void PopulateInsertParameters(Microsoft.Practices.EnterpriseLibrary.Data.Database db, System.Data.Common.DbCommand cmd)
        {
            throw new Exception("The method or operation is not implemented.");
        }
    }
}
